package com.sanery.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sanery.dao.TypeDao;
import com.sanery.entity.Type;
import com.sanery.service.TypeService;

@Service("typeService")
public class TypeServiceImpl implements TypeService {

	@Autowired
	private TypeDao dao = null;

	@Override
	public List<Type> getTypes() {
		List<Type> list = dao.getTypes();
		return list;
	}

}
